<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
    <title>欢迎页面-X-admin2.0</title>
    <meta name="renderer" content="webkit">
    <meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi" />
    <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
    <link rel="stylesheet" href="./css/font.css">
    <link rel="stylesheet" href="./css/xadmin.css">
    <!--jquery-->
    <script type="text/javascript" src="./js/jquery.min.js"></script>
    <!--layui-->
    <script type="text/javascript" src="./lib/layui/layui.js"></script>
    <!--cookies-->
    <script type="text/javascript" src="./js/cookies.js"></script>
    <!--spark-md5 获取文件MD5-->
    <script type="text/javascript" src="./js/spark-md5.min.js"></script>
    <!--common-->
    <script type="text/javascript" src="./js/common.js"></script>
    <!--检测登陆-->
    <script type="text/javascript" src="./js/testing_login.js"></script>
    <!--xadmin js-->
    <script type="text/javascript" src="./js/xadmin.js"></script>
    <!--wang editor-->
    <script type="text/javascript" src="./vendor/wangEditor/release/wangEditor.min.js"></script>
    <!--js-->
    <script type="text/javascript" src=./js/video-detail.js></script>
</head>

<body>
    <div class="x-nav">
        <span class="layui-breadcrumb">
            <a href="">web 内容管理</a>
            <a href="">视频管理</a>
            <a>
                <cite>视频详情</cite>
            </a>
        </span>
        <a class="layui-btn layui-btn-small" style="line-height:1.6em;margin-top:3px;float:right" href="javascript:location.replace(location.href);" title="刷新">
            <i class="layui-icon" style="line-height:30px">&#xe669;</i>
        </a>
    </div>
    <div class="x-body">
        <div class="layui-form layui-form-pane" lay-filter="video-detail-form">
            <div class="layui-form-item">
                <label for="" class="layui-form-label">
                    <span class="x-red">*</span>标题-简体
                </label>
                <div class="layui-input-inline">
                    <input type="text" name="titleCn" required lay-verify="required" autocomplete="off" class="layui-input">
                </div>
                <label for="" class="layui-form-label">
                    <span class="x-red">*</span>标题-繁体
                </label>
                <div class="layui-input-inline">
                    <input type="text" name="titleTw" required lay-verify="required" autocomplete="off" class="layui-input">
                </div>
                <label for="" class="layui-form-label">
                    <span class="x-red">*</span>标题-英文
                </label>
                <div class="layui-input-inline">
                    <input type="text" name="titleEn" required lay-verify="required" autocomplete="off" class="layui-input">
                </div>
                <div class="layui-form-item">                    
                    <label for="" class="layui-form-label">                        
                        <span class="x-red">*</span>视频首图                  
                    </label>                    
                    <div class="layui-input-inline" style="width:60%">                        
                        <input type="text" name="videoImg" required="" lay-verify="required" autocomplete="off" class="layui-input">
                    </div>                    
                    <a class="layui-btn" onclick="checkImg('videoImg')">检查</a>                  
                    <div class="position-box">                   
                        <a class="layui-btn layui-btn-warm">变更</a>                  
                        <input type="file" data-op="videoImg" onchange="addOrChangeProImg('imgOfVideo')" 
                        name="imgOfVideo" class="hidden-upload-btn">              
                    </div>         
                </div>
                <label for="" class="layui-form-label">
                    <span class="x-red">*</span>状态
                </label>
                <div class="layui-input-inline">
                    <select name="status" id="">
                        <option value="0">不发布</option>
                        <option value="1">发布</option>
                    </select>
                </div>
            </div>
            <div class="layui-form-item">
                <label for="" class="layui-form-label">
                    <span class="x-red">*</span>链接-大陆
                </label>
                <div class="layui-input-inline" style="width:60%">
                    <input type="text" name="videoCn" disabled autocomplete="off" class="layui-input">
                </div>
                <a class="layui-btn" onclick="playVideoFormIframe('videoCn')">播放</a>
            </div>
            <div class="layui-form-item">
                <label for="" class="layui-form-label">
                    <span class="x-red">*</span>链接-港台
                </label>
                <div class="layui-input-inline" style="width:60%">
                    <input type="text" name="videoTw" disabled autocomplete="off" class="layui-input">
                </div>
                <a class="layui-btn" onclick="playVideoFormIframe('videoTw')">播放</a>
            </div>
            <div class="layui-form-item">
                <label for="" class="layui-form-label">
                    <span class="x-red">*</span>链接-国外
                </label>
                <div class="layui-input-inline" style="width:60%">
                    <input type="text" name="videoEn" disabled autocomplete="off" class="layui-input">
                </div>
                <a class="layui-btn" onclick="playVideoFormIframe('videoEn')">播放</a>
            </div>
            <div class="layui-form-item layui-form-text">
                <label for="" class="layui-form-label">
                    <span class="x-red">*</span>内容-简体</label>
                <div class="layui-input-block">
                    <div id="htmlCn" name="htmlCn"></div>
                </div>
                <label for="" class="layui-form-label">
                    <span class="x-red">*</span>内容-繁体</label>
                <div class="layui-input-block">
                    <div id="htmlTw" name="htmlTw"></div>
                </div>
                <label for="" class="layui-form-label">
                    <span class="x-red">*</span>内容-英文</label>
                <div class="layui-input-block">
                    <div id="htmlEn" name="htmlEn"></div>
                </div>
            </div>
            <div class="layui-form-item">
                <button class="layui-btn layui-btn-warm" lay-filter="modify" lay-submit>
                    修改内容
                </button>
                <button lay-submit lay-filter="delete" class="layui-btn layui-btn-danger">删除视频</button>
            </div>
        </div>
    </div>
</body>

</html>